package work.mediway.mdm.biz.entity.biz;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 主数据修改记录表
 *
 * @author zhongyj <1126834403@qq.com><br/>
 * @date 2021/1/22
 */
@ApiModel(value = "主数据修改记录表")
@Data
@TableName(value = "MDM_EditLog")
public class MdmEditLog {
    /**
     * 序号
     */
    @TableId(value = "MDMEL_RowID", type = IdType.AUTO)
    @ApiModelProperty(value = "序号")
    private Integer rowId;

    /**
     * 表名称
     */
    @TableField(value = "MDMEL_Table")
    @ApiModelProperty(value = "表名称")
    private String tableName;

    /**
     * 操作类型(A-新增,U-更新,D-删除)
     */
    @TableField(value = "MDMEL_EditType")
    @ApiModelProperty(value = "操作类型(A-新增,U-更新,D-删除)")
    private String editType;

    /**
     * 表rowId
     */
    @TableField(value = "MDMEL_TableRowId")
    @ApiModelProperty(value = "表内rowId")
    private String tableRowId;

    /**
     * 字段名称
     */
    @TableField(value = "MDMEL_Field")
    @ApiModelProperty(value = "字段名称")
    private String fieldName;

    /**
     * 修改前值
     */
    @TableField(value = "MDMEL_BeforeEdit")
    @ApiModelProperty(value = "修改前值")
    private String beforeEdit;

    /**
     * 修改后值
     */
    @TableField(value = "MDMEL_AfterEdit")
    @ApiModelProperty(value = "修改后值")
    private String afterEdit;

    /**
     * 修改者
     */
    @TableField(value = "MDMEL_UserCode")
    @ApiModelProperty(value = "修改者")
    private String lastUpdateUserId;

    /**
     * 操作日期
     */
    @TableField(value = "MDMEL_UpdateDate")
    @ApiModelProperty(value = "操作日期")
    private String editUpdateDate;

    /**
     * 操作时间
     */
    @TableField(value = "MDMEL_UpdateTime")
    @ApiModelProperty(value = "操作时间")
    private String editUpdateTime;
}